﻿using System;
using CS.Demos;
using CS.Diagnostics;

//using Demo.DebugDemo;

namespace CS
{
    class Program
    {
        static void Main(string[] args)
        {

            try
            {
                if (args.Length > 0)
                    StpServerDemo.RunClient();
                else
                {
                    StpServerDemo.Run();
                }

            }
            catch (Exception ex)
            {
                Tracer.Fatal(ex);
            }

            Console.Read();
        }
    }



}
